using System.Collections.Generic; 

namespace XFGameFramework.EquipmentSystem
{
    /// <summary>
    /// 装备者接口(如果一个游戏角色能够添加装备, 请实现该接口)
    /// </summary>
    public interface IEquippable
    { 

        /// <summary>
        /// 所有的装备
        /// </summary>
        List<IEquipment> Equipments { get; }

         
        /// <summary>
        /// 判断装备者是否能够装备该装备
        /// </summary>
        /// <param name="equipment">装备对象</param>
        /// <returns>true:可以装备 false:不可装备</returns>
        bool IsCanEquip(IEquipment equipment);

    }

}

